import request from '@/utils/request.js'
///warn/segmentWarnData
export function getSegmentWarnData(params) {
  return request({
    url: '/warn/segmentWarnData',
    method: 'get',
    params
  })
}
export function getDmList (data) {
  return request({
    url: "/base/segment/list",
    method: "get",
    params: data,
  });
}
///warn/pollutantList
export function getPollutantList(params) {
  return request({
    url: '/warn/pollutantList',
    method: 'get',
    params
  })
}
// 
///warn/warnPsMonitoringList
export function getWarnPsMonitoringList(params) {
  return request({
    url: '/warn/warnPsMonitoringList',
    method: 'get',
    params
  })
}

///warn/warnVideoList
export function getWarnVideoList(params) {
  return request({
    url: '/warn/warnVideoList',
    method: 'get',
    params
  })
}